package com.atldy.commerce.account;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version 1.0
 * @Author: lidongyang
 * @CreateTime: 2021-08-13 12:47
 * @Description： 用户余额信息
 */
@ApiModel("用户账号余额信息")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BalanceInfo {

    /**
     * 用户 id
     */
    @ApiModelProperty("用户 id")
    private Long userId;

    /**
     * 账户余额
     */
    @ApiModelProperty("账户余额")
    private Long balance;
}